<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../dist/style/css/base.css">
    <script>
        var deviceWidth = document.documentElement.clientWidth;
        if (deviceWidth > 640) deviceWidth = 640;
        document.documentElement.style.fontSize = deviceWidth / 7.5 + 'px';
    </script>
</head>

<body>

    <div class="warp">
        <div class="my-header">
            <img src="../dist/images/my_2.jpg" alt="">
            <a href="#" class="return-btn2">
                <i class="iconfont icon-left1"></i>
            </a>
            <p class="phone">
                18828883888
            </p>
        </div>
        <div class="my-bar">
            <ul>
                <li>
                    <a href="#">
                    <i class="icon iconfont icon-dingdan"></i>我的订单 <i class="r iconfont icon-left"></i>
                    </a>
                </li>
                 <li>
                    <a href="#">
                    <i class="icon iconfont icon-shouhuodizhi"></i>收货地址 <i class="r iconfont icon-left"></i>
                    </a>
                </li>
                 <li>
                    <a href="#">
                    <i class="icon iconfont icon-bangdingyinhangqia-"></i>绑定银行卡 <i class="r iconfont icon-left"></i>
                    </a>
                </li>
                 <li>
                    <a href="#">
                    <i class="icon iconfont icon-weibiaoti111"></i>售后 <i class="r iconfont icon-left"></i>
                    </a>
                </li>
            </ul>
        </div>
        <div class="follow-bar">
            <a href="" class="follow-btn">
               <i class="iconfont icon-xiaolvdashiicon02-copy-copy"></i> 点关注微信公众号
            </a>
        </div>


    </div>

    <script src="../dist/js/base.js"></script>

    <script>
        // 矫正rem
        function correctrem() {
            var rem_full_width = $("<div id='rem-test' style='width:7.5rem'></div>").appendTo($('body')).width();
            var device_width = Math.min(document.documentElement.clientWidth, 640);
            if (rem_full_width !== device_width) {
                document.documentElement.style.fontSize = (device_width / 7.5) * (device_width / rem_full_width) + 'px';
            }
            $('#rem-test').remove();
        }
        correctrem();    
    </script>

</body>

</html>